

package com.zdsx.modules.production.service;


import com.zdsx.common.page.PageData;
import com.zdsx.common.service.BaseService;
import com.zdsx.modules.log.dto.SysLogErrorDTO;
import com.zdsx.modules.log.entity.SysLogErrorEntity;
import com.zdsx.modules.oss.entity.SysOssEntity;
import com.zdsx.modules.production.dto.CategoryDTO;
import com.zdsx.modules.production.dto.ProductInfoDTO;
import com.zdsx.modules.production.entity.ProductInfo;
import com.zdsx.modules.sys.entity.DictData;

import java.util.List;
import java.util.Map;

/**
 * 异常日志
 *
 * @author Lr
 * @since 1.0.0
 */
public interface ProductService {

    boolean insert(ProductInfoDTO productInfo);

    boolean update(ProductInfoDTO productInfo);

    boolean delete(Long[] ids);

    ProductInfoDTO getById(Long id);


    List<ProductInfoDTO> productList();

    List<CategoryDTO> getProductCategoryList();

    PageData<ProductInfoDTO> page(Map<String, Object> params);

}